package com.totoro.motan.config;

import com.weibo.api.motan.config.springsupport.BasicServiceConfigBean;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

@Configuration
public class MotanServiceConfig {

    @Bean
    @ConfigurationProperties(prefix = "motan.service")
    public BasicServiceConfigBean motanServerConfig(){
        BasicServiceConfigBean basicServiceConfigBean = new BasicServiceConfigBean();
        return basicServiceConfigBean;
    }

}
